<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体</title>
    <style>
        h{color: green;
            display:flex;
             align-items:center
        }
    </style>
</head>
<body>
    <h1>随心而动</h1>
    <h2>加油</h2>
</body>
</html>